home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TestDrive Windows 1993 Fall
/
TestDrive Windows 1993 Fall.iso
/
photo
/
pcxhdr.txt
< prev
next >
Wrap
Text File
|
1993-01-20
|
4KB
|
95 lines
Using PCXHDR
You use the PCXHDR utility to view .PCX file information in the file
header. The PCXHDR utility is automatically copied to your PhotoFinish
directory and added to your PhotoFinish program group during setup.
The name of the icon is PCX File Info.
PCXHDR generates a report that includes the file header information.
You can also use the PCXHDR utility to turn off palette information. This
is useful if you load a .PCX file and are not satisfied with the look of your
picture.
You should keep in mind the following conventions used in the command
line format for DOS utilities:
Include file extensions when filenames are called for.
Include backslashes in paths (e.g., C:\PHOTO\EXAMPLE.PCX).
Separate multiple options with a space.
Square brackets "[ ]" enclose optional parameters that you replace.
Braces "{ }" enclose required parameters that must be replaced.
To view the header information of a PCX file from the Windows
environment:
1 Activate the Windows Program Manager.
2 Double-click the PCX File Info program icon in your PhotoFinish
program group.
3 Type the filename you want to display information about.
If the picture you want to know about is in a different directory,
type the full path and name of the file.
4 If you want to turn palette information on, press the spacebar and type
On after the filename.
If you want to turn palette information off, press the spacebar and type
Off after the filename.
5 Press Enter.
PCXHDR generates a report about the file. See the following chart for
the information included in the report.
PCXHDR Information
Following is the header information PCXHDR reports:
Version: the PCX version of the picture you are checking and whether
your Palette is on or off. Palette On means palette data stored in the file
is used when you load the picture. Palette Off means the palette data
will not be used.
Image Size: the dimensions of the picture in pixels.
Number of Colors: the number of colors used in the picture's Palette.
Image Window: the x and y coordinates of the .PCX file.
Number of Planes: the number of planes in each pixel of the picture.
Bits Per Pixel: the space needed to create one pixel of color on your
screen.
Bytes Per Line Per Plane: the number of bytes on each line of a plane.
Image Resolution: the number of dots-per-inch that were set when the
picture was created.
Palette Info: the type of palette used to create the picture (gray scale,
256 color, black and white).
Reserved: this space is reserved for future use.
Screen Size: the size of your screen in pixels. This information is not
applicable to .PCX files created with Publisher's Paintbrush 1.xx, PC
Paintbrush Plus 1.xx, or PC Paintbrush versions earlier than 3.xx.
Palette (RGB): the actual RGB values for each color in the Palette of the
picture (also known as the Color Map).
Running PCXHDR from DOS
You can use the PCXHDR utility in DOS. To do this, exit Windows and
type the following command at the DOS prompt:
[drive:][path]PCXHDR [drive:][path]{pcxfilename} on/off
For example, if PCXHDR is stored in C:\PHOTO and ROSE.PCX is in
D:\PICTURES you would type the command line:
C:\PHOTO\PCXHDR D:\PICTURES\ROSE.PCX ON
The information may scroll off your screen. In DOS you can write the
PCXHDR report to a text file using the following command line:
[drive:][path]PCXHDR {filename} on >{filename.txt}
Once you have the file written to a text file, you can open it in a word
processing program for reading as you would any other text file.